home *** CD-ROM | disk | FTP | other *** search
/ IRIS Performer 2.2 Friends Demo / SGI IRIS Performer 2.2 Friends Demo.iso / friends / devices / BGSystems / examples / Makefile < prev    next >
Makefile  |  1997-10-31  |  669b  |  36 lines

  1. #! /bin/make -f
  2. #
  3. #
  4.  
  5. LD = cc
  6. CC = cc
  7.  
  8. #CFLAGS= -c -g $(XFLAGS) -DDEBUG -I../
  9. CFLAGS= -c -g -fullwarn $(XFLAGS) -I../bg/
  10. LDFLAGS= -fullwarn $(XFLAGS)
  11.  
  12. LVLIB = ../bg/lv3.a
  13.  
  14. .c.o:
  15.     $(CC) $(CFLAGS) $<
  16.  
  17. default: all
  18.  
  19. all: eprom g_l
  20.  
  21. eprom: check_eprom.o $(LVLIB)
  22.     $(LD) -o $@ check_eprom.o $(LVLIB) -lm
  23.  
  24. g_l: g_loop.o $(LVLIB)
  25.     $(LD) -o $@ g_loop.o $(LVLIB) -lm
  26.  
  27. clean:
  28.     rm *.o
  29.  
  30. # DO NOT DELETE THIS LINE -- make depend depends on it.
  31.  
  32. check_eprom.o: /usr/include/stdio.h /usr/include/stdlib.h
  33. check_eprom.o: /usr/include/sgidefs.h /usr/include/sys/types.h
  34. check_eprom.o: /usr/include/sys/bsd_types.h /usr/include/sys/select.h
  35. check_eprom.o: ../bg/lv3.h /usr/include/time.h
  36.